import java.util.*;
public class Example18{
	public static void main(String[] args){
		Map map = new HashMap();
		map.put("1","Jack");
		map.put("2","Rose");
		map.put("3","Lucy");
		Collection values = map.values();
		Iterator it = values.iterator();
		while(it.hasNext()){
			Object value = it.next();
			System.out.println(value);
		}
	}
}